package com.imooc.ecommerce.service.async;

import com.imooc.ecommerce.goods.GoodsInfo;

import java.util.List;

/**
 * 异步服务接口定义
 * @author zhangshao
 * @since 2023/11/30 20:29
 *
 */
public interface IAsyncService {

    /**
     * 异步将商品信息保存
     * @param goodsInfos
     * @param taskId
     */
    void asyncImportGoods(List<GoodsInfo> goodsInfos,String taskId);

}
